compress/zlib.reader.scratch (field)
10 uses
compress/zlib (current package)
reader.go#L55: scratch [4]byte
reader.go#L106: if _, err := io.ReadFull(z.r, z.scratch[0:4]); err != nil {
reader.go#L114: checksum := binary.BigEndian.Uint32(z.scratch[:4])
reader.go#L142: _, z.err = io.ReadFull(z.r, z.scratch[0:2])
reader.go#L149: h := binary.BigEndian.Uint16(z.scratch[:2])
reader.go#L150: if (z.scratch[0]&0x0f != zlibDeflate) || (z.scratch[0]>>4 > zlibMaxWindow) || (h%31 != 0) {
reader.go#L154: haveDict := z.scratch[1]&0x20 != 0
reader.go#L156: _, z.err = io.ReadFull(z.r, z.scratch[0:4])
reader.go#L163: checksum := binary.BigEndian.Uint32(z.scratch[:4])
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |